package la.renzhen.rtpt.spring.events;

import la.renzhen.rtpt.config.ConfigurationSource;
import org.springframework.context.ApplicationEvent;

/**
 * 客户端主动加载事件<p>
 *
 * @author <a href="mailto:zhouhaichao@2008.sina.com">haiker</a>
 * @version 10/05/2018 6:18 PM
 */
public class ReloadApplicationEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent.
     * @param source 数据圈
     */
    public ReloadApplicationEvent(ConfigurationSource source) {
        super(source);
    }

    public ConfigurationSource getEventSource() {
        return (ConfigurationSource) this.source;
    }
}
